package ynu.edu.ky_elm_springboot3.po;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;

@Data
public class Orders {
    private Integer orderId;
    private String userId;
    private Integer businessId;
    private String orderDate;
    private BigDecimal orderTotal;
    private Integer daId;
    private Integer orderState;
    
    //多对一
    private Business business;
    //一对多
    private List<OrderDetailet> orderDetailetList;
} 